package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.FacilityBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

@Mapper
public interface IFacilityMapper extends BaseMapper<FacilityBean> {

    public int findFacilitiesNum(@Param("roomId") Integer roomId,@Param("status") String setStatus);

    public void changeStatus(@Param("facId") int facId, @Param("status") String status);
    public List<FacilityBean> findFacById(@Param("roomId") Integer roomId);
}
